<script setup></script>

<template>
  <ainow-music-player class="vn-music-player">
    <div class="links">
      <RouterLink to="#about">关于会议</RouterLink>
      <RouterLink to="#recommend">相关网址</RouterLink>
      <RouterLink to="/upload" class="upload-btn">点击投稿</RouterLink>
      <RouterLink to="#contact">联系我们</RouterLink>
      <RouterLink to="#declare">地址说明</RouterLink>
    </div>
  </ainow-music-player>
</template>

<style scoped lang="less">
@import "../../assets/main.less";

@primary-color: #33689e;
@highlight-color: #d9534f; // **投稿按钮专属颜色**
@font-highlight: "Arial Black", sans-serif;

ainow-music-player {
  width: 100%;
  height: 50px;
  border: rgba(0, 0, 0, 0.1) solid 1px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.links {
  display: flex;
  gap: 20px;
  align-items: center;
  
  a {
    text-decoration: none;
    color: @primary-color;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    font-family: @font-highlight;
    transition: all 0.3s ease-in-out;

    &:hover {
      background-color: @primary-color;
      color: white;
      transform: scale(1.1);
    }
  }

  // **投稿按钮的特殊样式**
  .upload-btn {
    background-color: @highlight-color;
    color: white;
    font-size: 1.4em; // 更大字体
    padding: 12px 24px; // **增加内边距**
    border-radius: 12px; // **更圆润的按钮**
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); // **增加阴影**
    
    &:hover {
      background-color: darken(@highlight-color, 10%);
      transform: scale(1.15); // **悬浮时放大**
    }
  }
}
</style>
